package com.micosco.taskremind.ui.handler;

import android.os.Handler;

public class RefreshHandler extends Handler {
    public static final int START_AUTO_REFRESH = 0;

    public static final int REFRESH_ONCE = 1;

    protected boolean autoRefresh;

    public void startRefresh() {
        this.autoRefresh = true;
        sendEmptyMessage(0);
    }

    public void stopRefresh() {
        this.autoRefresh = false;
    }
}
